<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#first" data-toggle="tab">物流查询</a></li>
            <li><a href="#second" data-toggle="tab">云途快捷接口</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="first">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        {:build_toolbar('refresh')}
                    </div>
                    <table id="table1" class="table table-striped table-bordered table-hover" width="100%">

                    </table>

                </div>
            </div>
            <div class="tab-pane fade" id="second">
                <div id="toolbar2" class="toolbar">
                    {:build_toolbar('refresh')}
                </div>
                <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
        </div>
    </div>
</div>

<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-commonsearch">
        <div style="">
            <h4>物流查询（递四方、时丰、云途华西区）</h4>
            <hr>
            <div class="row">

                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">物流公司:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="company_name" data-rule="required" class="form-control selectpicker">
                                <option value="" selected>全部</option>
                                <option value="递四方">递四方</option>
                                <option value="时丰">时丰</option>
                                <option value="云途华西区">云途华西区</option>
                            </select>
                            <input type="hidden" class="operate" data-name="company_name" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Countryname')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input class="form-control" name="CountryName" type="text" value="美国" placeholder="请输入{:__('Countryname')}关键字">
                            <input type="hidden" class="operate" data-name="CountryName" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Packagetype')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="channel_type" data-rule="required" class="form-control selectpicker">
                                <option value="" selected>全部</option>
                                <option value="2">带电</option>
                                <option value="1">普货</option>
                            </select>
                            <input type="hidden" class="operate" data-name="channel_type" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Weight" class="form-control" step="0.01" name="Weight" type="number" value="1" placeholder="请输入{:__('Weight')}，必须大于0，最多两位小数">
                            <input class="operate" type="hidden" data-name="Weight" value="="/>
                        </div>
                    </div>
                </div>
<!--                <div class="col-xs-12 col-sm-6 col-md-12">-->
<!--                    <div class="form-group">-->
<!--                        <label class="control-label col-xs-12 col-sm-2">{:__('Length')}:</label>-->
<!--                        <div class="col-xs-12 col-sm-8">-->
<!--                            <input id="c-Length" class="form-control" step="0.01" name="Length" type="number" value="" placeholder="请输入{:__('Length')}，必须大于0，最多两位小数">-->
<!--                            <input class="operate" type="hidden" data-name="Length" value="="/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="col-xs-12 col-sm-6 col-md-12">-->
<!--                    <div class="form-group">-->
<!--                        <label class="control-label col-xs-12 col-sm-2">{:__('Width')}:</label>-->
<!--                        <div class="col-xs-12 col-sm-8">-->
<!--                            <input id="c-Width" class="form-control" step="0.01" name="Width" type="number" value="" placeholder="请输入{:__('Width')}，必须大于0，最多两位小数">-->
<!--                            <input class="operate" type="hidden" data-name="Width" value="="/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="col-xs-12 col-sm-6 col-md-12">-->
<!--                    <div class="form-group">-->
<!--                        <label class="control-label col-xs-12 col-sm-2">{:__('Height')}:</label>-->
<!--                        <div class="col-xs-12 col-sm-8">-->
<!--                            <input id="c-Height" class="form-control" step="0.01" name="Height" type="number" value="" placeholder="请输入{:__('Height')}，必须大于0，最多两位小数">-->
<!--                            <input class="operate" type="hidden" data-name="Height" value="="/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-6">
<!--                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>
<script id="customformtpl2" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-commonsearch">
        <div style="">
            <h4>云途物流查询(一次最多查询100条)</h4>
            <hr>
            <div class="row">

                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Sendercityname')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="SenderCityName" id="c-SenderCityName" data-rule="required" class="form-control selectpicker">
                                <option value="" selected>请选择</option>
                                <option value="2">深圳市</option>
                                <option value="2" >广州市</option>
                                <option value="7" >上海市</option>
                                <option value="12" >义乌市</option>
                                <option value="7" >杭州市</option>
                                <option value="17" >长沙市</option>
                                <option value="8" >成都市</option>
                                <option value="96" >重庆市</option>
                                <option value="95" >武汉市</option>
                                <option value="1026" >青岛市</option>
                                <option value="1025" >太原市</option>
                                <option value="1005" >石家庄市</option>
                                <option value="17" >郑州市</option>
                                <option value="2" >福州市</option>
                                <option value="2" >厦门市</option>
                                <option value="2" >莆田市</option>
                                <option value="2" >泉州市</option>
                            </select>
                            <input type="hidden" class="operate" data-name="SenderCityName" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Countryname')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="CountryName" id="c-CountryName" data-rule="required" class="form-control selectpicker">
                                <option value="US" selected >US(美国)</option>
                                <option value="GB" >GB(英国)</option>
                                <option value="DE" >DE(德国)</option>
                                <option value="ES" >ES(西班牙)</option>
                                <option value="FR" >FR(法国)</option>
                                <option value="IT" >IT(意大利)</option>
                                <option value="RU" >RU(俄罗斯)</option>
                                <option value="SE" >SE(瑞典)</option>
                                <option value="CA" >CA(加拿大)</option>
                                <option value="NL" >NL(荷兰)</option>
                            </select>
                            <input type="hidden" class="operate" data-name="CountryName" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Productgroupcode')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="ProductGroupCode" id="c-ProductGroupCode" data-rule="required" class="form-control selectpicker">
                                <option value="" selected>请选择</option>
                                <option value="UP">标准-EUB</option>
                                <option value="EM">平邮-经济（邮政）</option>
                                <option value="MA">标准-挂号</option>
                                <option value="SP">快速-专线</option>
                                <option value="DH">快速-快递</option>
                                <option value="PY">平邮-优先（商业）</option>
                                <option value="FB">FBA</option>
                            </select>
                            <input type="hidden" class="operate" data-name="ProductGroupCode" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Packagetype')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <select name="PackageType" id="c-PackageType" data-rule="required" class="form-control selectpicker">
                                <option value="" selected>请选择</option>
                                <option value="1">带电</option>
                                <option value="0">普货</option>
                            </select>
                            <input type="hidden" class="operate" data-name="PackageType" value="in"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}(KG):</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Weight" class="form-control" step="0.01" name="Weight" type="number" value="1" placeholder="请输入{:__('Weight')}，必须大于0，最多两位小数">
                            <input class="operate" type="hidden" data-name="Weight" value="="/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Length')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Length" class="form-control" step="0.01" name="Length" type="number" value="10" placeholder="请输入{:__('Length')}，必须大于0，最多两位小数">
                            <input class="operate" type="hidden" data-name="Length" value="="/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Width')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Width" class="form-control" step="0.01" name="Width" type="number" value="10" placeholder="请输入{:__('Width')}，必须大于0，最多两位小数">
                            <input class="operate" type="hidden" data-name="Width" value="="/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-12">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Height')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-Height" class="form-control" step="0.01" name="Height" type="number" value="10" placeholder="请输入{:__('Height')}，必须大于0，最多两位小数">
                            <input class="operate" type="hidden" data-name="Height" value="="/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-6">
                                <!--                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>